package cn.zhl.base;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @program: portal
 * @description: 分页基础类
 * @author: 刘振华
 * @create: 2019-06-20 17:07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageModel<E> {
	private String index = "test_2";
	private String type = "info";
	private int current = 1;
	private int size = 10;
	private long total;
	private List<E> records = new ArrayList<>();
}
